<%@ page contentType="text/javascript;charset=UTF-8" language="java" %>
<%@ page import="jp.nyatla.lr.*" %>
<%@ page import="jp.nyatla.ntg.*" %>
<%@ page import="java.util.*" %>
<%
	response.setHeader("pragma","no-cache");
	response.setHeader("Cache-Control","no-cache");

	ListTimelineTwitterSession s=new ListTimelineTwitterSession(request,true);
	TwitterSessionData sd=s.refSessionData();
	s.getConnection();
	//サインインチェック
	if(!s.isSignIn()){
		%><jsp:forward page="error.jsp" /><%
	}
	//プロファイルの取得

	s.commitSession();
%>
(function(){
<%=request.getParameter("cb")%>(<%=s.getRawListTLJson(request.getParameter("name"),Integer.parseInt(request.getParameter("id")))%>);
}());